package cn.itsource.system.service;



import cn.itsource.system.domain.Logininfo;
import cn.itsource.system.query.LogininfoQuery;
import cn.itsource.until.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ILogininfoService {
    void add(Logininfo logininfo);
    void update(Logininfo logininfo);
    void delete(Long id);
    Logininfo getOne(Long id);
    List<Logininfo> getAll();

    void patchDelete(Long[] ids);

    PageInfo<Logininfo> pageQuery(LogininfoQuery query);


    JsonResult login(Map<String, String> map);
}
